package com.gwt.mvp.sample.shared.action;

import net.customware.gwt.dispatch.shared.Action;

import com.gwt.mvp.sample.shared.result.IntegerResult;

/**
 * Action 
 * @author Cristian
 */
public class IncrementCounterAction implements Action<IntegerResult> {
    private int amount;

    /** For serialization only. */
    IncrementCounterAction() {
    }

    public IncrementCounterAction( int amount ) {
        this.amount = amount;
    }

    public int getAmount() {
        return amount;
    }
}